x86emul: extend / amend supported FPU opcodes
authorJan Beulich <jbeulich@suse.com>
Fri, 9 Dec 2016 11:02:12 +0000 (12:02 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 9 Dec 2016 11:02:12 +0000 (12:02 +0100)
commite4f2c50d6dbc5143c7b36edb4ccde0a3cf224793
tree4631949faed085f475c418a69132b4787d4afc28
parent3f916247afc3ed8f1ba4c1bc248eaaa7afe962d8
x86emul: extend / amend supported FPU opcodes

First of all there are a number of secondary encodings both Intel and
AMD support, but which aren't formally documented. See e.g.
www.sandpile.org/x86/opc_fpu.htm for inofficial documentation.

Next there are a few more no-ops - instructions which served a purpose
only on 8087 or 287.

Further switch from fail_if() to raising of #UD in a couple of places
(as the decoding of FPU opcodes should now be complete except where
explicitly marked as todo).

Also adjust a few comments.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/x86_emulate/x86_emulate.c